<?php
namespace app\admin\model;

use think\Model;

class ProductCurrencyLink extends Model
{
    public function getCurrencyName(){
        return $this->belongsTo(ProductCurrency::class,'currencyid','id')->bind(['name']);
    }
}

?>
